Repository navigation
test(pm-aggregator): MOB-00 deterministic browser acceptance harness (#9467) - #9561
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 6 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Closes the implementation half of #9467 (MOB-00) — the design gate (PR #9225) merged as 84131d4, so the harness lands now. MOB-03 (#9470) / MOB-04 (#9471) browser acceptance is unblocked on this.
What
pm-stack/aggregator/package.json+bun.lock: pin@playwright/test1.64.0 exactly (matches the fleet's playwright-driver browser build, chromium v1248 — the same alignment rule aspkgs/ide2e).pm-stack/aggregator/playwright.config.ts(new): boots the real aggregator in fixture mode (PM_AGG_SOURCE=fixtures) as a PlaywrightwebServeron loopback-only ports (4797/4897), single worker, no retries, trace + videoretain-on-failure(never a screenshot-only pass).pm-stack/aggregator/test/browser/mobile-work-view.spec.ts(new): the single named contract testpmo_mob_03/04_mobile_queue_keyboard_and_viewport_contract. Every non-local request is aborted (isolated deterministic fixture data only, no GitHub/Project/session credentials). It asserts:/item/<id>page renders its title as the heading at 360px, no overflow;/api/actions(201) and the app presents the result back: the "Dismissed / done by you" count increments. (Comment posting is deliberately not used: its author authorization resolves through the host secret store, which would make the harness non-deterministic across machines.).github/workflows/pm-aggregator-tests.yml: newbrowserjob in the existing workflow (still dispatch-only per pm-aggregator-tests workflow: auto triggers BLOCKED on runner strategy (dispatch-only by Drew's ruling 2026-11-05) #6126): frozen install, Playwright browser cache keyed on the pinned version +bun.lock, deterministic Chromium install, the exact acceptance command, trace/video artifact upload on failure.Verification
bunx playwright test --config playwright.config.ts --grep pmo_mob_03/04 --listlists exactly the one named test.cd pm-stack/aggregator && bunx playwright test --config playwright.config.ts --grep pmo_mob_03/04— 1 passed, three consecutive runs (fresh fixture server each run).bunx tsc --noEmit: 22 errors, byte-identical set to pristine current main (all pre-existing in other test files; zero in the new files).bun test test/boot.test.ts test/queue-view.test.ts: same result as the pre-change baseline (one pre-existing boot hook timeout under load; queue-view tests pass).Queue: task 15992, lane code-b. Notes on #9467.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.